{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\David\Desktop\Neighbour March 26th.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}26 Mar 2019, 18:53:29

{com}. recode discussantsAskedYouToVote (9999 = 0)
{txt}(discussantsAskedYouToVote_first: 184 changes made)

{com}. 
. recode efficacyNotUnderstandW1 (9999= 3)
{txt}(efficacyNotUnderstandW1: 57 changes made)

{com}. logit VotedEU i.ApproveL1 i.DiscussantVoted Female DegreeorMore OverallPartyContact DiscussPolitics Age2635 Age3645 Age4655 Age5665 Age66plus DutyW1 PoliticalAtttentionW1 efficacyNotUnderstandW1 c.PIDStrengthCatW1 i.discussantsAskedYouToVote i.ApproveL1#i.DiscussantVoted, robust

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -3145.934}  
Iteration 1:{space 3}log pseudolikelihood = {res: -2566.382}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2517.9262}  
Iteration 3:{space 3}log pseudolikelihood = {res:-2517.5226}  
Iteration 4:{space 3}log pseudolikelihood = {res:-2517.5224}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     5,928
{txt}{col 49}Wald chi2({res}17{txt}){col 67}= {res}    944.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-2517.5224{txt}{col 49}Pseudo R2{col 67}= {res}    0.1998

{txt}{hline 32}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 33}{c |}{col 45}    Robust
{col 1}                        VotedEU{col 33}{c |}      Coef.{col 45}   Std. Err.{col 57}      z{col 65}   P>|z|{col 73}     [95% Con{col 86}f. Interval]
{hline 32}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}1.ApproveL1 {c |}{col 33}{res}{space 2} .5512107{col 45}{space 2} .1500271{col 56}{space 1}    3.67{col 65}{space 3}0.000{col 73}{space 4} .2571631{col 86}{space 3} .8452584
{txt}{space 14}1.DiscussantVoted {c |}{col 33}{res}{space 2} .9324642{col 45}{space 2} .1029484{col 56}{space 1}    9.06{col 65}{space 3}0.000{col 73}{space 4} .7306891{col 86}{space 3} 1.134239
{txt}{space 25}Female {c |}{col 33}{res}{space 2}-.2642974{col 45}{space 2} .0735985{col 56}{space 1}   -3.59{col 65}{space 3}0.000{col 73}{space 4}-.4085478{col 86}{space 3}-.1200469
{txt}{space 19}DegreeorMore {c |}{col 33}{res}{space 2} .1393707{col 45}{space 2} .0759411{col 56}{space 1}    1.84{col 65}{space 3}0.066{col 73}{space 4}-.0094712{col 86}{space 3} .2882126
{txt}{space 12}OverallPartyContact {c |}{col 33}{res}{space 2} .4862291{col 45}{space 2} .0820762{col 56}{space 1}    5.92{col 65}{space 3}0.000{col 73}{space 4} .3253627{col 86}{space 3} .6470956
{txt}{space 16}DiscussPolitics {c |}{col 33}{res}{space 2} .1296256{col 45}{space 2} .0190763{col 56}{space 1}    6.80{col 65}{space 3}0.000{col 73}{space 4} .0922367{col 86}{space 3} .1670146
{txt}{space 24}Age2635 {c |}{col 33}{res}{space 2} .3269155{col 45}{space 2} .1794223{col 56}{space 1}    1.82{col 65}{space 3}0.068{col 73}{space 4}-.0247457{col 86}{space 3} .6785767
{txt}{space 24}Age3645 {c |}{col 33}{res}{space 2} .5641607{col 45}{space 2} .1771135{col 56}{space 1}    3.19{col 65}{space 3}0.001{col 73}{space 4} .2170245{col 86}{space 3} .9112968
{txt}{space 24}Age4655 {c |}{col 33}{res}{space 2} .8777792{col 45}{space 2} .1737228{col 56}{space 1}    5.05{col 65}{space 3}0.000{col 73}{space 4} .5372887{col 86}{space 3}  1.21827
{txt}{space 24}Age5665 {c |}{col 33}{res}{space 2} 1.011222{col 45}{space 2} .1737688{col 56}{space 1}    5.82{col 65}{space 3}0.000{col 73}{space 4} .6706412{col 86}{space 3} 1.351803
{txt}{space 22}Age66plus {c |}{col 33}{res}{space 2} 1.445151{col 45}{space 2} .1909332{col 56}{space 1}    7.57{col 65}{space 3}0.000{col 73}{space 4} 1.070928{col 86}{space 3} 1.819373
{txt}{space 25}DutyW1 {c |}{col 33}{res}{space 2} .9704751{col 45}{space 2} .0811628{col 56}{space 1}   11.96{col 65}{space 3}0.000{col 73}{space 4}  .811399{col 86}{space 3} 1.129551
{txt}{space 10}PoliticalAtttentionW1 {c |}{col 33}{res}{space 2} .0636214{col 45}{space 2} .0206013{col 56}{space 1}    3.09{col 65}{space 3}0.002{col 73}{space 4} .0232435{col 86}{space 3} .1039993
{txt}{space 8}efficacyNotUnderstandW1 {c |}{col 33}{res}{space 2}-.1743809{col 45}{space 2} .0375181{col 56}{space 1}   -4.65{col 65}{space 3}0.000{col 73}{space 4} -.247915{col 86}{space 3}-.1008468
{txt}{space 15}PIDStrengthCatW1 {c |}{col 33}{res}{space 2} .3226774{col 45}{space 2} .0427674{col 56}{space 1}    7.54{col 65}{space 3}0.000{col 73}{space 4} .2388548{col 86}{space 3}    .4065
{txt}{space 31} {c |}
discussantsAskedYouToVote_first {c |}
{space 27}Yes  {c |}{col 33}{res}{space 2}-.3933122{col 45}{space 2} .2251055{col 56}{space 1}   -1.75{col 65}{space 3}0.081{col 73}{space 4}-.8345108{col 86}{space 3} .0478865
{txt}{space 31} {c |}
{space 6}ApproveL1#DiscussantVoted {c |}
{space 27}1 1  {c |}{col 33}{res}{space 2}-.2549995{col 45}{space 2} .2023303{col 56}{space 1}   -1.26{col 65}{space 3}0.208{col 73}{space 4}-.6515596{col 86}{space 3} .1415606
{txt}{space 31} {c |}
{space 26}_cons {c |}{col 33}{res}{space 2}-1.640875{col 45}{space 2} .2597321{col 56}{space 1}   -6.32{col 65}{space 3}0.000{col 73}{space 4}-2.149941{col 86}{space 3} -1.13181
{txt}{hline 32}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. margins, at (ApproveL1 = (0 1) DiscussantVoted_first  = (0 1))
{err}variable 'DiscussantVoted_first' not found in list of covariates
{txt}{search r(322), local:r(322);}

{com}. 
. marginsplot
{err}previous command was not {cmd:margins}
{txt}{search r(301), local:r(301);}

{com}. margins, at (ApproveL1 = (0 1) DiscussantVoted  = (0 1))
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     5,928
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(VotedEU), predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted}{space 1}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted}{space 1}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted}{space 1}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted}{space 1}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .7188825{col 26}{space 2} .0073168{col 37}{space 1}   98.25{col 46}{space 3}0.000{col 54}{space 4} .7045417{col 67}{space 3} .7332232
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .8472591{col 26}{space 2} .0101914{col 37}{space 1}   83.13{col 46}{space 3}0.000{col 54}{space 4} .8272843{col 67}{space 3} .8672339
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .8011462{col 26}{space 2} .0189875{col 37}{space 1}   42.19{col 46}{space 3}0.000{col 54}{space 4} .7639314{col 67}{space 3} .8383609
{txt}{space 10}4  {c |}{col 14}{res}{space 2}  .877144{col 26}{space 2} .0096152{col 37}{space 1}   91.22{col 46}{space 3}0.000{col 54}{space 4} .8582985{col 67}{space 3} .8959895
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. marginsplot

{text}{p 2 6 2}Variables that uniquely identify margins: ApproveL1 DiscussantVoted{p_end}
{res}
{com}. graph save Graph "C:\Users\David\Desktop\Neighbour Graph 26th March.gph"
{res}{txt}(file C:\Users\David\Desktop\Neighbour Graph 26th March.gph saved)

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\David\Desktop\Neighbour March 26th.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}26 Mar 2019, 18:56:23
{txt}{.-}
{smcl}
{txt}{sf}{ul off}